package com.example.botany_api.bean;

/**
 * @Author 漫画忧作
 * @Date 2022/11/5 0:17
 * @Version 1.0
 */
public class Curing {
    private int id;
    private String name;
    private String summary;
    private String content;
    private String type;
    private String time;
    private int views;
    private String img;
    private String address;

    public Curing() {
    }

    public Curing(String name, String summary, String content, String type, String time, int views, String img, String address) {
        this.name = name;
        this.summary = summary;
        this.content = content;
        this.type = type;
        this.time = time;
        this.views = views;
        this.img = img;
        this.address = address;
    }

    public Curing(int id, String name, String summary, String content, String type, String time, int views, String img, String address) {
        this.id = id;
        this.name = name;
        this.summary = summary;
        this.content = content;
        this.type = type;
        this.time = time;
        this.views = views;
        this.img = img;
        this.address = address;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getViews() {
        return views;
    }

    public void setViews(int views) {
        this.views = views;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Curing{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", summary='" + summary + '\'' +
                ", content='" + content + '\'' +
                ", type='" + type + '\'' +
                ", time='" + time + '\'' +
                ", views=" + views +
                ", img='" + img + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
